package com.yun.many.auth.dao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.many.auth.dao.entity.User;
import com.yun.many.auth.model.req.UserQueryReq;

import java.util.List;

public interface IUserRepository extends IService<User> {

    Page<User> pageUser(UserQueryReq req);

    User getByUsername(String username);

    Boolean delete(List<Long> ids);
}
